# setup.py
from distutils.core import setup
import py2exe

#===============================================================================
# counter_start = 1000
# intro = 'Spilot Real Name Loader'
# try:
#    f = open( 'build_counter', 'r' )
# except IOError:
#    f = open( 'build_counter', 'w' )
#    pickle.dump( counter_start, f )
#    f.close()
#    
# counter = int( pickle.load( f ) ) + 1
# f.close()
# 
# f = open( 'build_counter', 'w' )
# pickle.dump( counter, f )
# f.close()
#===============================================================================

setup( 
    options={"py2exe":{"dist_dir": "rn-Loader", \
                        "optimize":2}, 
                    }, 
    windows = [ 
        { 
            "script": "RN-Loader.pyw", 
            "icon_resources": [( 1, "icon.ICO" )] , 
        } 
    ], 
    zipfile=None,
    name="%s" % 'Spilot Real Name Loader',
    version="1.0", 
    author='fla.liu', 
    author_mail='Spilot@spilot.com.cn', 
    description='Spilot Real Name Loader',
    long_description='Spilot Real Name Loader', 
    platforms='win32', 
    maintainer='fla.liu', 
    url='http://soft.oguard.com', 
 ) 

